home *** CD-ROM | disk | FTP | other *** search
- Subject: Re: Stubs
- Sent: 7/8/96 3:18 PM
- Received: 7/8/96 3:41 PM
- From: Troy Gaul, tgaul@apple.com
- Reply-To: ODF Interest, ODF-Interest@CILabs.ORG
- To: OpenDoc Development Framework Discussion List, ODF-Interest@CILabs.
-
- >What is a stub (I'm assuming it is a shell lib that simply exports the
- >symbols necessary to link), and how would I create one.
-
- Yes, a stub is a shared library containing just the exports.
-
- You can create a 'stub' library that is not really a stub by simply
- renaming and changing the file type of your compiled shared library. I
- say it's "not really a stub" because it actually still contains the code,
- but it will function the same as far as someone linking against it is
- concerned.
-
- It is possible to create a true stub library that contains the exports
- and not the code (as is the case for the OpenDoc stub libraries). It
- would seem natural that there should be a tool available for doing this,
- but I'm not aware of one.
-
- >Are the data transfer extensions for the script runner 'official'
- >interfaces for data trasnfer (ie should we always try to subclass these
- >for similar opertions), and if so is there any plan to split these
- >extensions out into a separate shared lib from the script runner?
-
- These are not official OpenDoc (or Apple) extensions. It was simply an
- example of how the extension mechanism could be used to do data transfer.
-
- If these were going to be done for real, it would be best to put them
- into a separate shared library. We decided we should have done that, but
- not in time for the original release of Script Runner.
-
- _troy
-
- ......................................................................
- Troy Gaul tgaul@apple.com
- Apple Computer, Inc. OpenDoc Partsmith
-
-
-